-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: enforce no-throw-literal #32331
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #32331 +/- ##
==========================================
- Coverage 78.45% 78.42% -0.03%
==========================================
Files 106 106
Lines 7208 7208
Branches 1323 1323
==========================================
- Hits 5655 5653 -2
- Misses 1365 1368 +3
+ Partials 188 187 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Comments on closed issues and PRs are hard for our team to see. |
Reason for this change
As part of #32324 we are enforcing stricter rules on thrown errors.
Description of changes
Enforce the
no-throw-literal
eslint rule.Fix the one instance that wasn't compliant yet.
Description of how you validated changes
Manual testing. Only changed code is in supporting CLI tool.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license